package com.ct.gd.passport.view.exhibition;

import java.util.List;

import android.content.Context;
import android.view.View;

import com.ct.gd.passport.domain.ExhibitionInfo;
import com.up91.common.android.content.SimpleLoader;

public class ExhibitionLoader extends SimpleLoader<List<ExhibitionInfo>> {
	private int	mCatalogId;

	public ExhibitionLoader(Context context, View view) {
		super(context, view);
	}

	public void setCatalogId(int catalogId) {
		this.mCatalogId = catalogId;
	}

	public int getCatalogId() {
		return mCatalogId;
	}

	@Override
	protected List<ExhibitionInfo> loadData() throws Exception {
		List<ExhibitionInfo> catalogs = ExhibitionInfo.load();
		return catalogs;
	}
}
